package com.webside.distinguish.service;

import java.util.List;

import com.webside.base.baseservice.BaseService;
import com.webside.distinguish.model.SeriesDistinguish;
import com.webside.distinguish.model.SeriesDistinguishKey;
import com.webside.interfaces.model.SeriesModel;
import com.webside.interfaces.model.SeriesVideoTree;

public interface SeriesDistinguishService extends BaseService<SeriesDistinguish, SeriesDistinguishKey>{
	List<SeriesDistinguish> selectListByDistinguishId(Long distinguishId);
	
	int add(SeriesDistinguishKey sdk);
	
	SeriesDistinguish SelectByPrimaryKey(SeriesDistinguishKey sdk);
	
	int addList(List<SeriesDistinguishKey> sdkList);
	
	int deleteByIds(Long distinguishId, List<String> sdkList);
	
	List<SeriesModel> selectSeriesListByAppid(String appid, String channel, Integer pageNo);
	List<SeriesModel> selectOfflineSeriesListByAppid(String appid, String channel, Integer pageNo);
 
	int selectCountByAppid(String appid, String channel, Integer pageNo);
	int selectOfflineCountByAppid(String appid, String channel, Integer pageNo);
	
	SeriesVideoTree selectBySeriesId(Integer seriesId);
}
